package pro.shushi.pamirs.hr.core.extpoint;

import pro.shushi.pamirs.hr.api.extpoint.BusinessTripServiceExtpoint;
import pro.shushi.pamirs.hr.api.model.biz.BusinessTrip;
import pro.shushi.pamirs.meta.annotation.Ext;
import pro.shushi.pamirs.meta.annotation.ExtPoint;
import pro.shushi.pamirs.meta.annotation.fun.extern.Slf4j;

@Slf4j
@Ext(BusinessTripServiceExtpoint.class)
public class StdBusinessTripServiceExtpoint implements BusinessTripServiceExtpoint {

    @Override
    @ExtPoint.Implement(displayName = "出差申请扩展点实现")
    public BusinessTrip customHandler(BusinessTrip shop) {
        log.info("出差申请扩展点实现， 默认什么都不做。可以没有默认实现");
        return shop;
    }
}